import request from '@/libs/request'
//附件-分类
export function cate_index(data) {
  return request.get('site/attachcate/index',data)
}
//附件-分类添加
export function cate_add(data) {
  return request.get('site/attachcate/add',data)
}
//附件-分类编辑
export function cate_edit(data) {
  return request.get('site/attachcate/edit',data)
}
//附件-分类删除
export function cate_del(data) {
  return request.post('site/attachcate/del',data)
}

//附件-列表
export function attachment_index(data) {
  return request.get('site/attachment/index',data)
}
//附件-删除
export function attachment_del(data) {
  return request.post('site/attachment/del',data)
}

//附件-转移
export function attachment_change(data) {
  return request.post('site/attachment/change',data)
}
//上传文件
export function general_upload(data) {
  return request.post('General/upload',data)
}
